<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once template('head'); 
echo <<<EOT
-->
<script language="javascript">
parent.document.getElementById("license").className='stepnowno';
parent.document.getElementById("inspect").className='stepnowno';
parent.document.getElementById("databasesetup").className='stepnow';
</script>
<body>
<div class="contenttext">
<br />
<p>检查您的数据库设置情况，请在相应栏目仔细输入配置内容，点击 <b>保存数据库设置</b> 继续。</p>
<br />
    <form method="post" action="">
    <input name="setup" type="hidden" value="1">
	 <input name="db_type" type="hidden" value="mysql">
	  <fieldset>
	  <legend><strong>数据库信息</strong></legend>

		<div class="section">
		  <input type="text" id="db_prefix" class="inp" name="db_prefix" tabindex="2" value="met_" size="18" />
		  <label for="db_prefix">数据表前缀</label>
		  <p>例如：met_ 请不要留空，且使用“_”结尾。<br />
		  </p>
		</div>

                <div class="section">
		  <input type="text" id="db_host" class="inp" name="db_host" tabindex="3" value="localhost" size="18" />
		  <label for="db_host">数据库主机</label>
		  <p>数据库主机的格式可以是主机名字，例如 'db.myserver.com', 或者是IP地址，例如 '192.168.0.1',一般不需要更改。</p>
		</div>
		<div class="section">
		  <input type="text" id="db_username" class="inp" name="db_username" tabindex="4" value="root" size="18" />
		  <label for="db_username">数据库用户名</label>
		</div>
		<div class="section">
		  <input type="password" id="db_pass" class="inp" name="db_pass" tabindex="5" />
		  <label for="db_pass">数据库密码</label>
		</div>
		<div class="section">
		 <input type="text" id="db_name" name="db_name" class="inp" tabindex="6"  size="18" />
		  <label for="db_name">数据库名 </label>
		  <p>例如'met'或'my_met',请确保用字母开头</p>
		</div>
      </fieldset>
	 <p align="right" >
	 <input name="cndata" type="checkbox" value="yes"  checked="checked"/>安装中文演示数据 
	 <input name="endata" type="checkbox" value="yes" checked="checked" />安装英文演示数据 
	 <input type="submit" name="submit" class="btn2" tabindex="15" value="保存数据库设置并继续" style="*padding-top:4px;"/></p>

    </form>
</div>
</body>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->